package ink.yuanchu.picachoframework.entity.bo;

import ink.yuanchu.picachoframework.entity.Permissions;
import ink.yuanchu.picachoframework.entity.Role;
import lombok.Data;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * business Object
 * 用于封装业务对象
 * 根据一个角色对应多个权限的逻辑来封装
 * @author ziyuan
 * @Date: 2021/03/18/10:16
 * @Description:
 */
@Data
public class RoleAndPermissions extends Role {

    /**
     * 权限列
     */
    private List<PermissionsAndRoleId> permissions;
}
